package com.jec.module.sysconfig.dao;

import org.springframework.data.jpa.repository.JpaRepository;

import com.jec.module.sysconfig.entity.TerminalBusiness;

public interface TerminalBusinessRepository extends JpaRepository<TerminalBusiness, Integer>{
		
	public boolean existsByKeyConfigIdAndDeviceNumberAndIdNot(int keyConfigId, String deviceNumber, int id);
	
}
